home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.tip.net!usenet
- From: mikael.berglund@amiga.pp.se (Mikael Berglund)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: YASL (was: AsynchIO (was: fastest file read method ??))
- Date: 26 Jan 1996 22:54:44 GMT
- Organization: Uniplus Internet Access
- Message-ID: <1349.6599T1259T2701@amiga.pp.se>
- References: <w9YbsMD4ACazz9@jeff.dame.shnet.org> <w+RYXMD4FC8aRz1@_crisi.blackbox.shnet.org>
- <4dsalp$t68@news1.halcyon.com> <4du0ju$84b@news.sdd.hp.com>
- <4e2e76$9k3@toad.stack.urc.tue.nl> <4e3j8v$jd0@news.sdd.hp.com>
- <4e7si4$ore@tuegate.tue.nl> <4e8asc$rht@news.sdd.hp.com>
- NNTP-Posting-Host: a711011.dial.tip.net
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
- In a message 25-Jan-96 17:24:44 Jeff Grimmett <jgrimm@sdd.hp.com> wrote:
-
- >My opinion as such differs from yours. I have over a dozen so-called
- >shared libraries in my LIBS: directory that are shared by ONE program,
- >this is SHARING? What uses hyperion.library and centurion.library? One
- >program that I'm aware of. If something else does, I don't have it.
-
- But you miss one thing here. The ONE program using the library would still
- have to link it into the code thus making the code bigger and take up more
- or less the same diskspace.
-
- If this library is placed in LIBS: or in the programs home directory doesn't
- really matter does it?
-
- Granted, programmers should not place the library by default in LIBS: but
- use the home directory if they are fairly sure no one else is using it. In
- fact this is supported by OpenLibrary() which first tries to load the
- library from the current directory and if failing trying LIBS:. If others
- use it the user himself can move it to LIBS: so all programs can benefit
- from it.
-
- From a programmers point of view there are many reasons to place code in a
- shared library the most significant would be code reusability. Also it is
- easy to flush libraries from memory that you do not need opposed to the
- overlay technique which IMHO leaves many wishes to be satisfied.
-
- --
- Regards TMB PGP public key available
-
-